| TableServer Class |
Namespace: TangibleFramework
public class TableServer
The TableServer type exposes the following members.
| Name | Description | |
|---|---|---|
| TableServer | ||
| TableServer |
Default Constructor, Wich will initialize all class members.
|
| Name | Description | |
|---|---|---|
| Automatic_Network_Search |
Static Public Function for Automatic Network Search for Slab Connected(Execution time 5 to 10 minutes and it's depend on network speed).
this function return type is List of Ip address String. Foreach(string s in TableServer.AutomaticNetworkSearch()) {Console.WriteLine(s); }; | |
| calcul_Medium_point |
public Function to calculate the medium point of list of points.
the List of points objects. this function return type is Point Object Type. | |
| Configure_Slabs_Paratmers |
Private Function for automatic setting by sending comands for each Slab on the tangible table (IP server, detection Mode... etc).
this function return type is void. | |
| Configure_Slabs_Positions |
Private Function for initializing Slabs positions on the tangible table.
this function return type is void. | |
| Configure_Slabs_XML |
private Function for reading Slabs Ip from XML file.
this function return type is void . | |
| Dispose |
public Function to Liberate All Resources and clean everything.
this function return type is void. | |
| Get_Tag_Position |
Private Function to get a position of tag from his ID Value.
the string value Tag RFID Identificator. this function return type is tag Object Type. | |
| initilize_Class_Members |
this function will inisialize all class members (buffers, objects, Network listeners ... etc).
this function return type is void | |
| On_Tags_Leaving |
Virtual Function for Tags leaving (User must write his own function).
the tag object that rise the event.the event rised by the sender. this function return type is void. | |
| On_Tags_Moving |
Virtual Function for Tags Moving (User must write his own function).
the tag object that rise the event. the event rised by the sender. this function return type is void. | |
| Run |
private Function for performing the listening on Network Broadcast tangible frames.
this function return type is void . | |
| Send_Command |
Public Function to send a simple Tangible Command to a Single Slab.
the string value of the Slab IP address.the string value of the Tangible Command. this function return type is Response Object Type. TableServer tab= new TableServer(); tab.SendCommand("192.186.1.101","mode:1"); | |
| Start |
Public Function for Start Listening on Network for Broadcast tangible frames.
this function return type is void. TableServer tab=new tableServer(); tab.start(); | |
| Stop |
Public Function for Stop Listening on Network for Broadcast tangible frames.
this function return type is void. TableServer tab=new tableServer(); tab.start(); tab.Stop() |
| Name | Description | |
|---|---|---|
| Commanding_Socket |
Network Socket for network communication with the table .
| |
| Connected_Slab_List |
List of All Slabs IP address String.
| |
| Ip_Address |
This Object represent a IP Address.
| |
| IP_Maximum |
Maximum Address Ip for the automatic Network Search (default value 255).
| |
| IP_Minimum |
Minimum Address Ip for the automatic Network Search (default value 100).
| |
| List_Tags_ID |
List Of All Tags ID that will be concerned.
| |
| Main_Buffer |
Byte Buffer for table command or Reply (1024 Byte default size).
| |
| Minimum_Rssi_Value |
Minimum RSSSI Value for RSSI Detection Mode (default value is 0).
| |
| Port_Number |
Network Port number for communication with the Tangible Table (65000 default value).
| |
| RSSI_Mode_Is_Activated |
RSSSI Detection Mode Statut ( ON / OFF default).
| |
| Server_Is_Running |
Listening Statut ( ON / OFF default).
| |
| Server_Thread |
This thread will be running for listening for network table tangible frames.
| |
| Slab_Sensors_Height |
Slab RFID Sensor Height (default value 4).
| |
| Slab_Sensors_WIdth |
Slab RFID Sensor Width (default value 4).
| |
| SlabPositions |
a static Dictionary contain the Slab IP and her position inside the table.
| |
| Slabs_IP_File |
XML File Path of Slabs IP List.
| |
| table |
this static Object represent a table and inside it all tags and all slabs and their tags (needed for add/insert/delete tags).
| |
| Table_Sensors_height |
Table RFID Sensor Height (default value 16).
| |
| Table_Sensors_WIdth |
Table RFID Sensor Width (default value 16).
| |
| Time_Out |
static Frames Time Out integer (default value 100 milliseconds).
| |
| UDP_Listner | UDP Listener for reading all table frames Broadcast.
|
| Name | Description | |
|---|---|---|
| Tags_Leaving |
Event Handler for Tags leaving the table.
| |
| Tags_Updates |
Event Handler for Tags moving on the table.
|